

var pagew = $(document).outerWidth(true) + (window.innerWidth - document.body.clientWidth);
var pageh = $(window).innerHeight();


try {
    $(".menu_click em").click(function () {
        if ($(this).attr("class") != "on") {
            $(this).addClass("on");
            $(".topfr .fc").stop(true, true).slideDown();
        }
        else {
            $(this).removeClass("on");
            $(".topfr .fc").stop(true, true).hide();
        }
    });
}
catch (e) { }

try {
    !(function (n, e) {
    function setViewHeight() {
      var windowVH = e.innerHeight / 100
      n.documentElement.style.setProperty('--vh', windowVH + 'px')
    }
    var i = 'orientationchange' in window ? 'orientationchange' : 'resize'
    n.addEventListener('DOMContentLoaded', setViewHeight)
    e.addEventListener(i, setViewHeight)
  })(document, window)
} catch (e) {}


try{
    document.addEventListener('touchend', function (event) {
    var now = (new Date()).getTime();
    if (now - lastTouchEnd <= 300) {
    event.preventDefault();
    }
    lastTouchEnd = now;
    }, false);
}
catch(e){}